
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" >

<head>

<title>{% block title %}{% endblock %}</title>

<link rel="stylesheet" type="text/css" href="/static/css/snippets.css" />

{% block extrastyle %}{% endblock %}

{% block extrahead %}{% endblock %}

</head>

<body>
{% if user %}
  <div align="right">Logged in as {{ user.nickname }} -
  <a href="/user/{{user.nickname}}">Profile</a> -
  <a href="{{log_in_out_url}}">Log out</a> </div>
{% else %}
  <div align="right"><a href="{{log_in_out_url}}">Log in</a></div>
{% endif %}

{% block text%} {% endblock %}

<div class="footer">
&copy; Copyright 2008 EngineSnippets.com. All Rights Reserved. EngineSnippets is a trademark of EngineSnippets, inc.
<script src="/static/lib/prototype.js" type="text/javascript"></script>
<script src="/static/lib/scriptaculous.js?load=effects,dragdrop,builder,controls,slider" type="text/javascript"></script>


<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-1128487-9");
pageTracker._initData();
pageTracker._trackPageview();
</script>

{% block extrajs %} {% endblock %}
</html>
